package com.zc.microservice.user.core.infra.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户
 *
 * @author zcj
 * @version 1.0.0
 * @date 2022/7/11 18:05
 */
@Data
@TableName(value = "tenant_user")
public class TenantUser implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.INPUT)
    private String id;

    /**
     * 租户ID
     */
    private String tenantId;

    /**
     * 名称
     */
    private String userName;

    /**
     * 账号
     */
    private String account;

    /**
     * 密码
     */
    private String password;

    /**
     * 直接组织ID
     */
    private String orgId;

    /**
     * 是否被冻结
     */
    private Boolean isFrozen;

    /**
     * 是否被删除
     */
    private Boolean isDeleted;

}
